// @ts-ignore

/* eslint-disable */
import { request } from 'umi';

/** 模糊查询企业股权网络 GET /api/equityNetwork */
export async function getEquityNetwork(params, options) {
    console.log(params, options)
    return request('/api/ep/equityNetwork', {
        method: 'GET',
        params: { ...params },
        ...(options || {}),
    });
}

/** 获取企业topk持股路径 GET /api/equityTopKPath */
export async function getEquityTopKPath(params, options) {
    console.log(params, options)
    return request('/api/ep/equityTopKPath', {
        method: 'GET',
        params: { ...params },
        ...(options || {}),
    });
}

/** 获取股权知识大图中企业股权网络层级排行 GET /api/equityLevelRank */
export async function getEquityLevelRank(params, options) {
    console.log(params, options)
    return request('/api/ep/equityLevelRank', {
        method: 'GET',
        params: { ...params },
        ...(options || {}),
    });
}

/** 查询股东关系图谱 GET /api/getEquityNetwork */
export async function getRelationNetwork(params, options) {
    console.log(params, options)
    return request('/api/ep/equityRelationNetwork', {
        method: 'GET',
        params: { ...params },
        ...(options || {}),
    });
}


/** 查询股东最终股权穿透查询 GET /api/getEquityNetwork */
export async function getEquityList(params, options) {
    console.log(params, options)
    return request('/api/ep/equityList', {
        method: 'GET',
        params: { ...params },
        ...(options || {}),
    });
}


/** 查询股权结构分析 GET /api/getEquityNetwork */
export async function getEquityStruct(params, options) {
    console.log(params, options)
    return request('/api/ep/equityStruct', {
        method: 'GET',
        params: { ...params },
        ...(options || {}),
    });
}

/** 查询股东 GET /api/getEquityNetwork */
export async function getEquityMsg(params, options) {
    console.log(params, options)
    return request('/api/ep/equityMSG', {
        method: 'GET',
        params: { ...params },
        ...(options || {}),
    });
}
